package cn.tedu.blackhorse.mapper;

import cn.tedu.blackhorse.pojo.entity.Job;
import cn.tedu.blackhorse.pojo.entity.KnewProblem;
import cn.tedu.blackhorse.pojo.entity.Order;
import cn.tedu.blackhorse.pojo.vo.AdminStandardVO;
import cn.tedu.blackhorse.pojo.vo.OrderListItemVO;
import cn.tedu.blackhorse.pojo.vo.OrderStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    int insert(Order order);

    int deleteById(Long id);

    int deleteByIds(List<Long> ids);

    int updateById(Order order);

    int count();

    List<OrderListItemVO> list();

    OrderStandardVO getById(Long id);

}
